﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PartyObjectScoreMemberList.aspx.cs"
    Inherits="SysManage.Module.ScoreManage.PartyObjectScoreMemberList" %>


<!DOCTYPE html>

<html>
<head runat="server">
    <title></title>
    <style type="text/css">
       
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server"></f:PageManager>
        <f:Panel ID="Panel1" runat="server" BodyPadding="5px"
            ShowBorder="false" Layout="VBox" BoxConfigAlign="Stretch"
            BoxConfigPosition="Start" ShowHeader="false" Title="">
            <Items>
                <f:Form ID="Form2" runat="server" Height="36px" BodyPadding="5px" ShowHeader="false"
                    ShowBorder="false">
                    <Rows>
                        <f:FormRow ID="FormRow1" runat="server">
                            <Items>
                                <f:Panel ID="Panel2" ShowHeader="false" CssClass="formitem" ShowBorder="false"
                                    Layout="HBox" runat="server">
                                    <Items>
                                        <f:TextBox ID="txtName" BoxFlex="1" runat="server" Label="申请标题" LabelAlign="right" LabelWidth="70px"></f:TextBox>
                                        <f:DropDownList BoxFlex="1" ID="ddlCategory" Label="积分名称" LabelAlign="right" runat="server" LabelWidth="70px">
                                        </f:DropDownList>
                                        <f:Button Margin="0 0 0 5" ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" Icon="SystemSearch"></f:Button>
                                    </Items>
                                </f:Panel>
                            </Items>
                        </f:FormRow>
                    </Rows>
                </f:Form>
                <f:Grid ID="Grid1" runat="server" BoxFlex="1" ShowBorder="true" ShowHeader="false"
                    EnableCheckBoxSelect="true" DataKeyNames="ID" AllowSorting="false"
                    OnSort="Grid1_Sort" SortField="CreatTime" SortDirection="ASC" AllowPaging="true"
                    IsDatabasePaging="true" OnPreDataBound="Grid1_PreDataBound" OnRowCommand="Grid1_RowCommand"
                    OnPageIndexChange="Grid1_PageIndexChange">
                    <Toolbars>
                        <f:Toolbar ID="Toolbar1" runat="server">
                            <Items>
                                <f:Button ID="btnDeleteSelected" Hidden="true" Icon="Delete" runat="server" ConfirmText="确认要删除选中记录？" Text="删除选中记录" OnClick="btnDeleteSelected_Click">
                                </f:Button>
                                <f:ToolbarSeparator runat="server">
                                </f:ToolbarSeparator>
                                <f:ToolbarFill ID="ToolbarFill1" runat="server">
                                </f:ToolbarFill>
                                <f:Button ID="btnAdd" runat="server" Icon="Add" Hidden="false" EnablePostBack="false" Text="积分申请">
                                </f:Button>
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                    <Columns>
                        <f:RowNumberField />
                        <f:BoundField DataField="Title" SortField="Title" ExpandUnusedSpace="true" HeaderText="申请标题" />
                        <f:BoundField DataField="Name" Width="60px" SortField="Title" ExpandUnusedSpace="true" HeaderText="姓名" />
                        <f:BoundField DataField="ScoreDate" Width="120px" ID="defen" HeaderText="得分时间" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd HH:mm}" />
                        <f:BoundField DataField="Score" Width="60px" HeaderText="分数" TextAlign="Center" />
                        <f:BoundField DataField="CategoryName" Width="150px" HeaderText="积分名称" TextAlign="Center" />
                        <f:BoundField DataField="CreateTime" Width="120px" HeaderText="创建时间" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd HH:mm}" />
                        <f:BoundField DataField="CreateByName" Width="90px" HeaderText="创建人" TextAlign="Center" />

                        <f:BoundField DataField="Description" ID="beizhu" Width="300px" HeaderText="备注" TextAlign="Left" />
                        <f:BoundField DataField="Content" ID="beizhu1" Width="150px" HeaderText="申请说明" TextAlign="Left" />
                        <f:BoundField DataField="AduitContent" ID="yijian" Width="150px" HeaderText="审核意见" TextAlign="Left" />
                        <f:BoundField ID="state" DataField="Status" Width="80px" HeaderText="状态" TextAlign="Left" />

                        <f:WindowField ID="bianji" ColumnID="editField" TextAlign="Center" Icon="Pencil" HeaderText="审核" ToolTip="审核" WindowID="Dialog"
                            Title="审核" DataIFrameUrlFields="ID,StudioID" Width="50px"
                            DataIFrameUrlFormatString="PartyObjectScoreEdit.aspx?id={0}" />
                        <f:LinkButtonField ID ="shanchu" ColumnID="deleteField" TextAlign="Center" HeaderText="删除" Hidden="false" Icon="Delete" ToolTip="删除" ConfirmText="确定删除此记录？"
                            ConfirmTarget="Top" CommandName="Delete" Width="50px" />
                    </Columns>
                    <PageItems>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                        </f:ToolbarSeparator>
                        <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数：">
                        </f:ToolbarText>
                        <f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged" runat="server">
                            <f:ListItem Text="10" Value="10"></f:ListItem>
                            <f:ListItem Text="20" Value="20"></f:ListItem>
                            <f:ListItem Text="50" Value="50"></f:ListItem>
                            <f:ListItem Text="100" Value="100"></f:ListItem>
                        </f:DropDownList>
                    </PageItems>
                </f:Grid>
            </Items>
        </f:Panel>
        <f:Window ID="Dialog" CloseAction="Hide" runat="server" IsModal="true" Hidden="true" Target="Top"
            EnableResize="true" EnableMaximize="true" EnableIFrame="true" Width="700px" Height="500px" OnClose="Dialog_Close">
        </f:Window>

    </form>
</body>
</html>

